package com.chenl.provider.DEMOS.设计模式.测试设计模式;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Set;

@Data
@Accessors(chain = true)
public class UserModel implements Serializable {

    @ApiModelProperty("用户名—登录名")
    private String userName;

    @ApiModelProperty("姓名-展示")
    private String realName;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("companyCode")
    private String companyCode;

    @ApiModelProperty("商户id")
    private Long merchantId;


    @ApiModelProperty("商户名称")
    private String merchantName;

    @ApiModelProperty("租户id")
    private Long tenantId;

    @ApiModelProperty("租户名称")
    private String tenantName;

    @ApiModelProperty("所有的roleIds")
    private Set<Long> roleIds;

    @ApiModelProperty(value = "机构ID")
    private Long deptId;

    @ApiModelProperty(value = "机构名称")
    private String deptName;

    @ApiModelProperty("机构名称")
    private String deptCode;

    @ApiModelProperty("hashCode")
    private Integer hashCode;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty("系统状态")
    private String systemStatus;

    @ApiModelProperty(value = "管理端状态，参考CommonState。ENABLED|DISABLED")
    private String managerStatus;

    @ApiModelProperty(value = "地面端状态，参考CommonState。ENABLED|DISABLED")
    private String groundStatus;

}
